tools/build: Fix root build target
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 15 Oct 2014 17:33:55 +0000 (18:33 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 20 Oct 2014 14:42:33 +0000 (15:42 +0100)
The root Makefile 'build' rule recurses into the tools directory and invokes
the 'build' rule.  However, the tools Makefile doesn't contain a 'build' rule,
resulting in failure.

Introduce a 'build' rule identical to the existing 'all' rule.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/Makefile

index 543cd29a133d465d32e3df51b819d6c6d548dad7..af9798a32bd47bf6e9ca58af66a0695046c7c3ba 100644 (file)
@@ -54,8 +54,8 @@ export CROSS_SYS_ROOT # exported for check/funcs.sh
 export CROSS_BIN_PATH # exported for cross-install.sh
 endif
 
-.PHONY: all
-all: subdirs-all
+.PHONY: build all
+build all: subdirs-all
 
 .PHONY: install
 install: subdirs-install